.class public Lcom/instagram/android/d/k/l;
.super Lcom/instagram/android/d/k/f;
.source "IgRequestCallback.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<T:",
        "Ljava/lang/Object;",
        ">",
        "Lcom/instagram/android/d/k/f",
        "<TT;>;"
    }
.end annotation


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 13
    invoke-direct {p0}, Lcom/instagram/android/d/k/f;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Landroid/content/Context;Lcom/instagram/android/d/k/h;)V
    .locals 2
    .parameter
    .parameter

    .prologue
    .line 17
    check-cast p2, Lcom/instagram/android/d/k/m;

    .line 19
    invoke-virtual {p2}, Lcom/instagram/android/d/k/m;->d()Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 20
    invoke-virtual {p2}, Lcom/instagram/android/d/k/m;->d()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/d/b/d;

    .line 21
    invoke-static {v0}, Lcom/instagram/android/d/c/b;->a(Lcom/instagram/android/d/b/d;)V

    goto :goto_0

    .line 24
    :cond_0
    invoke-virtual {p2}, Lcom/instagram/android/d/k/m;->b()Z

    move-result v0

    if-nez v0, :cond_2

    .line 25
    invoke-virtual {p2}, Lcom/instagram/android/d/k/m;->g()Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_1

    .line 26
    sget v0, Lcom/facebook/ba;->error:I

    invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p2, v0}, Lcom/instagram/android/d/k/m;->d(Ljava/lang/String;)V

    .line 28
    :cond_1
    invoke-virtual {p0, p1, p2}, Lcom/instagram/android/d/k/l;->a(Landroid/content/Context;Lcom/instagram/android/d/k/m;)V

    .line 32
    :goto_1
    return-void

    .line 30
    :cond_2
    invoke-virtual {p2}, Lcom/instagram/android/d/k/m;->a()Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/instagram/android/d/k/l;->a(Ljava/lang/Object;)V

    goto :goto_1
.end method

.method protected a(Landroid/content/Context;Lcom/instagram/android/d/k/m;)V
    .locals 2
    .parameter
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Lcom/instagram/android/d/k/m",
            "<TT;>;)V"
        }
    .end annotation

    .prologue
    .line 51
    invoke-virtual {p2}, Lcom/instagram/android/d/k/m;->c()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 52
    const-string v0, "login_required"

    invoke-virtual {p2}, Lcom/instagram/android/d/k/m;->c()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 53
    invoke-static {p1}, Lcom/instagram/android/login/c/a;->a(Landroid/content/Context;)V

    .line 58
    :cond_0
    :goto_0
    return-void

    .line 54
    :cond_1
    const-string v0, "checkpoint_required"

    invoke-virtual {p2}, Lcom/instagram/android/d/k/m;->c()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 55
    invoke-virtual {p2}, Lcom/instagram/android/d/k/m;->e()Ljava/lang/String;

    move-result-object v0

    invoke-static {p1, v0}, Lcom/instagram/android/util/j;->a(Landroid/content/Context;Ljava/lang/String;)V

    goto :goto_0
.end method

.method protected a(Ljava/lang/Object;)V
    .locals 0
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TT;)V"
        }
    .end annotation

    .prologue
    .line 42
    return-void
.end method
